﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example02.aspx.cs" Inherits="Chapter13.Example02" %>

<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>代码清单 13-2 使用 value 和 placeholder 属性</title>
    <meta name="author" content="Adam Freeman" />
    <meta name="description" content="A simple example" />
    <link rel="shortcut icon" href="Example01.Favicon.ico" type="image/x-ico" />
</head>
<body>
    <form action="Result.aspx">
        <p>
            <label for="name">Name:</label>
            <input placeholder="Your name" id="name" name="name" />
        </p>
        <p>
            <label for="city">City:</label>
            <input placeholder="Where you live" id="city" name="city" />
        </p>
        <p>
            <label for="fave">Fruit:</label>
            <input value="Apple" id="face" name="fave" />
        </p>
        <button type="submit">Submit Vote</button>
    </form>
</body>
</html>
